{# 继承父模板 #}
{% extends 'base.html'%}

{% block head %}
	<div>
    <p>child1的head</p>
    </div>

{% endblock %}

{% block content %}
	<div>
    <h2>child1的content</h2>
    </div>

{% endblock %}
{% block foot %}
	<h3>child1的foot</h3>

{% endblock %}